<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>名称</th>
            <th>类别</th>
            <th>价格</th>
            <th>图片</th>
            <th>库存</th>
            <th>销量</th>
            <th>浏览</th>
            <th>状态</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <Product:list options="$options">
        <tr data-key="{$vo.id}">
            <td>{$vo.title}</td>
            <td>{$vo.category_name}</td>
            <td>{$vo.price}</td>
            <td>{$vo.picture_url}</td>
            <td>{$vo.stock}</td>
            <td>{$vo.sales_volume}</td>
            <td>{$vo.visit_count}</td>
            <td>{$vo.status|sofn_get_state_text='product-state',###}</td>
            <td>{$vo.create_time}</td>
            <td>
                <ul class="xsui-operate-group">
                    <li><a href="#" class="xsui-btn ui-state-default xsui-icon-right">操作<i class="fa fa-caret-square-o-down"></i></a>
                        <ul>
                            <li><a href="{:AddonU('product_edit','id='.$vo['id'])}" class="lnk-edit" data-id="{$vo.id}" title="编辑 {$vo.title}"><i class="fa fa-edit fa-fw"></i>编辑</a></li>
                            <li><a href="{:AddonU('product_delete','id='.$vo['id'])}" class="lnk-remove" data-confirm="{'code':'zhan123'}" data-id="{$vo.id}" title="删除 {$vo.title}"><i class="fa fa-remove fa-fw"></i>删除</a></li>
                        </ul>
                    </li>
                </ul>
            </td>
        </tr>
    </Product:list>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>